package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.EtOrderPaymentrecordMapper;
import com.ktgj.other.domain.EtOrderPaymentrecord;
import com.ktgj.other.service.IEtOrderPaymentrecordService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@Service
public class EtOrderPaymentrecordServiceImpl implements IEtOrderPaymentrecordService 
{
    @Autowired
    private EtOrderPaymentrecordMapper etOrderPaymentrecordMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param paymentrecordsid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public EtOrderPaymentrecord selectEtOrderPaymentrecordById(Long paymentrecordsid)
    {
        return etOrderPaymentrecordMapper.selectEtOrderPaymentrecordById(paymentrecordsid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param etOrderPaymentrecord 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EtOrderPaymentrecord> selectEtOrderPaymentrecordList(EtOrderPaymentrecord etOrderPaymentrecord)
    {
        return etOrderPaymentrecordMapper.selectEtOrderPaymentrecordList(etOrderPaymentrecord);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param etOrderPaymentrecord 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEtOrderPaymentrecord(EtOrderPaymentrecord etOrderPaymentrecord)
    {
        return etOrderPaymentrecordMapper.insertEtOrderPaymentrecord(etOrderPaymentrecord);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param etOrderPaymentrecord 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEtOrderPaymentrecord(EtOrderPaymentrecord etOrderPaymentrecord)
    {
        return etOrderPaymentrecordMapper.updateEtOrderPaymentrecord(etOrderPaymentrecord);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param paymentrecordsids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderPaymentrecordByIds(Long[] paymentrecordsids)
    {
        return etOrderPaymentrecordMapper.deleteEtOrderPaymentrecordByIds(paymentrecordsids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param paymentrecordsid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderPaymentrecordById(Long paymentrecordsid)
    {
        return etOrderPaymentrecordMapper.deleteEtOrderPaymentrecordById(paymentrecordsid);
    }
}
